	{% for type, flashMessages in app.session.flashbag.all() %}
		{% for flashMessage in flashMessages %}
			
			{% if plain is defined and plain %}
				<div class="{{ type }}">
					{{flashMessage|trans|raw}}
				</div>
			{% else %}
				<div class="flash flash-{{ type }}">
					{{flashMessage|trans|raw}}
				</div>
			{% endif %}

		{% endfor %}
	{% endfor %}
